/**
* This file is part of decent-cpp.
*
* decent-cpp is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* decent-cpp is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License
* for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with decent-cpp.  If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

/// stdint.h is bad and causes lots of problems when things are expecting unsigned
/// long long int and get unsigned long int instead because "it's still 64 bits"
/// So we make our own mini stdint.h that should still work on all modern platforms.
namespace dc {
  typedef unsigned long long int u64_t;
  typedef unsigned char u8_t;
  static_assert(sizeof(u64_t) == 8, "unsigned long long int has the wrong size, wtf");
  static_assert(sizeof(u8_t) == 1, "unsigned char has the wrong size, wtf");
}